package com.intellagric.service.traceability.trace_record_table;

import com.intellagric.common.pojo.LayuiDataGridResult;
import com.intellagric.common.pojo.ResponseMessage;

import java.util.LinkedHashMap;
import java.util.List;

/**
 * @Author: zhy
 * @email: 1269679946@qq.com
 * @Date: 2019/2/22
 * @DESC： 溯源记录表操作
 */
public interface TraceTableService {

    ResponseMessage insertTraceTable(String tableName, List<String> list);

    ResponseMessage deleteTraceTable(String id, String tableName);

    ResponseMessage updateTraceTable(String sql);

    LayuiDataGridResult selectOneTraceTable(String id, String tableName);

    LayuiDataGridResult selectTraceTable(int page, int limit, String tableName, String produceBatchId, String processId);

}
